<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js点击调用函数改变背景</title>
</head>
<body>
	<input type="button" value="红色" onclick="background('red')">
	<input type="button" value="绿色" onclick="background('green')">
	<input type="button" value="蓝色" onclick="background('blue')">
	<input id="bag-diy" type="color" onchange="backgroundDiy()">
	<script src="js/4-18.js"></script>
</body>
</html>